home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 21 / Cream of the Crop 21 (Terry Blount) (October 1996).iso / program / nwlib15.zip / WARNING.!!! < prev   
Text File  |  1996-06-08  |  2KB  |  43 lines

  1. WARNING!!!
  2.  
  3. 1.5x:
  4. NWChangePassword() adds a new parameter.  Make sure you check out
  5. the help information on this function before attempting to convert
  6. your projects.
  7.  
  8.  
  9. 1.4x:
  10. This information is directed to anyone upgrading from a version
  11. prior to version 1.40.  If are using NWLib for the first time,
  12. you can ignore the following information.
  13.  
  14. MOST IMPORTANT:  ALL NWLib bindery and environment gathering
  15. functions now require the desired Server Connection Handle
  16. as the first parameter.  In older versions, these API calls
  17. were defaulted to the current server connection handle.
  18. This meant if you actually wanted to receive the object ID
  19. of another user on a different server than your current
  20. server, you needed to make that server the default before
  21. making the call.  Since some of the new bindery/environmental
  22. calls required these base functions, we needed to include
  23. this parameter for those working under a multi-server
  24. network.
  25.  
  26. In NWLib 1.4 and above, you can pass 0 (zero) as the server
  27. connection handle, and NWLib will assume you mean the
  28. 'default' or current server connection handle.  This means
  29. you can simply drop the new version in, and build all of
  30. your projects files.  As the compiler stops on a line
  31. that used to properly compile with a warning such as
  32. 'invalid type,' simply place a 0 (zero) as the first
  33. parameter of the call if you want the current server, or
  34. pass the desired server connection handle and the function
  35. will use that connection handle instead.
  36.  
  37. Example:  WhoAmI used to require no parameters.  In this
  38. release and up, WhoAmI(0) is the equivilent.  You can
  39. also do:  WhoAmI(some_server_conn_handle) to obtain
  40. your User ID on a different server.  See also getObjName,
  41. getObjType, getObjectID, etc.  All examples included in
  42. the DEMO project.
  43.